package com.hidao.platform.zike.entity;

import java.util.*;
import javax.persistence.*;
import com.hidao.platform.ssh.basic.BaseEntity;

/**
 * 客户
 * @author super
 */
@Entity
@Table(name = "Customer")
public class Customer extends BaseEntity<Integer> {

	/***/
	@Column(name = "username",length = 64,unique = true,columnDefinition="varchar(64) COMMENT ''")
	private String username;

	/**密码*/
	@Column(name = "password",length = 128,unique = false,columnDefinition="varchar(128) COMMENT '密码'")
	private String password;

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public Customer() {}

	public Customer(Integer id) {
		super.setId(id);
	}
}
